#ifndef BOARD_CONFIG_H
#define BOARD_CONFIG_H
#include <rtthread.h>

/****************************************************************************************************/
/* group of scib configs */
#ifdef __CORE0__
#define BOARD_CFG_SCIB
#if defined(RT_SERIAL_USING_DMA)
#define BOARD_SERIALB_RX_USING_DMA
#define BOARD_SERIALB_TX_USING_DMA
#endif

#define BOARD_CFG_SCIA
#if defined(RT_SERIAL_USING_DMA)
#define BOARD_SERIALA_RX_USING_DMA
#define BOARD_SERIALA_TX_USING_DMA
#endif
#endif

#ifdef __CORE1__
#define BOARD_CFG_SCIA
#endif
/****************************************************************************************************/
/* group of i2ca configs */
#define BOARD_CFG_I2CA

/****************************************************************************************************/
/* group of spia configs */
#ifdef __CORE0__
#define BOARD_CFG_SPIA
#if defined(RT_SPI_USING_DMA)
//#define BOARD_SPIA_RX_USING_DMA
//#define BOARD_SPIA_TX_USING_DMA
#endif
#else
#define BOARD_CFG_SPIB
#endif

#define BSP_USING_SSPI

#define BOARD_CFG_TIMER1

#define BOARD_CFG_PWM1
/****************************************************************************************************/

#endif
